/**
 * fshows.com
 * Copyright (C) 2013-2020 All Right Reserved
 */
package com.fshows.leshuapay.sdk.request.settlement;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 商户打款失败明细request
 *
 * @author zhaoyi
 * @version MerchantSettlementFailOrderRequest.java, v 0.1 2020-07-31 14:50 zhaoyi
 */
@Data
public class MerchantSettlementFailOrderRequest implements Serializable {

    private static final long serialVersionUID = -6562025913200644959L;
    /**
     * 商户号
     */
    @NotBlank(message = "merchantId不能为空")
    private String merchantId;

    /**
     * 打款单的创建日期 （创建时间是交易时间的下一天）
     */
    @NotBlank(message = "date不能为空")
    private String date;

    /**
     * 类型：D0、D1、Withdraw
     */
    @NotBlank(message = "type不能为空")
    private String type;

    /**
     * 页码(页码超出总页数后返回第一页)，每页默认20条数据
     */
    @NotNull(message = "pageNo不能为空")
    private Integer pageNo;

    /**
     * 结算状态
     * 打款状态: -1：打款失败; 0:打款中;1:打款成功; 2:打款退票;3:冻结出款;4：全部
     */
    @NotNull(message = "state不能为空")
    private Integer state;
}
